<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MapIconMaker V1.0 Reference</title>
<link rel="stylesheet" type="text/css" href="http://code.google.com/css/dev_docs.css"></link>
</head>
<body>
<h2>
<a name="MapIconMaker"></a>namespace MapIconMaker</h2>
<p>
    This namespace contains functions that you can use to easily create dynamically sized and colored icons.
  </p>

<h3>Static Methods</h3>
<table summary="namespace MapIconMaker - Static Methods">
<tbody><tr>
<th>Methods</th>
<th>Return Value</th>
<th>Description</th>
</tr>

<tr class="odd">
<td class="code">createMarkerIcon(<span class="type" title="type:  MarkerIconOptions">opts?</span>)</td>
<td class="code"><span class="void">GIcon</span></td>
<td>
        Creates an icon based on the specified options in the <code>MarkerIconOptions</code> argument. 
</td>
</tr>
</table>

<h2>
<a name="MarkerIconOptions"></a>class MarkerIconOptions</h2>

<p>This class represents optional arguments to the
  <code><span class="xref">createMarkerIcon</a></span></code> constructor. It has no constructor, but is
  instantiated as object literal (e.g. {width: 44, height: 44}.</p>
<h3>Properties</h3>
<table summary="class MarkerIconOptions - Properties">
<tbody><tr>
<th>Properties</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr class="odd">

<td class="code">width</td>
<td class="code"> Number</td>
<td>
        Specifies, in pixels, the width of the icon. The width may include some blank space on the side,
        depending on the height of the icon, as the icon will scale its shape proportionately.
	If not specified, the width will default to 32.
</td>
</tr>
<tr class="even">
<td class="code">height</td>
<td class="code"> Number</td>
<td>
	Specifies, in pixels, the height of the icon. If not specified, the height will default to 32.
</td>
</tr>
<tr class="odd">
<td class="code">primaryColor</td>
<td class="code"> String</td>
<td>
	Specifies, as a hexadecimal string, the color used for the majority of the icon body. If not specified,
	the primary color will default to "#ff0000."
</td>
</tr>
<tr class="odd">
<td class="code">cornerColor</td>
<td class="code"> String</td>
<td>
	Specifies, as a hexadecimal string, the color used for the top corner of the icon. If you'd like the
        icon to have a consistent color, make the <code>cornerColor</code> the same as the <code>primaryColor</code>. If not specified,
	the corner color will default to "#ffffff".
</td>
</tr>
<tr class="odd">
<td class="code">strokeColor</td>
<td class="code"> String</td>
<td>
	Specifies, as a hexadecimal string, the color used for the outside line (stroke) of the icon. If not specified,
	the stroke color will default to "#000000."
</td>
</tr>
</tbody></table>
<h2>

</body>
</html>
